package com.mihe.core.constant;

/**
 * <p>
 *  自定义用户信息常量
 * </p>
 *
 * @author liuz
 * @since 2020-07-21
 */
public class RequestConstant {

    /**
     *  用户id
     */
    public static final String ADMIN_ID = "uid";

    /**
     *  用户名
     */
    public static final String ADMIN_NAME = "name";

    /**
     * 部门id
     */
    public static final String DEPARTMENT_ID = "department_id";

    /**
     * 部门名称
     */
    public static final String DEPARTMENT_NAME = "department_name";

    /**
     * 手机号
     */
    public static final String MOBILE = "mobile";

    /**
     * 超级管理员
     */
    public static final String ADMIN_SUPER = "adminIsSuper";

    /**
     * 操作类型，添加:0
     */
    public static final int INSERT_VAL = 0;

    /**
     * 操作类型 编辑:1
     */
    public static final int UPDATE_VAL = 1;

    /**
     * 操作类型，删除:2
     */
    public static final int DELETR_VAL = 2;

    /**
     * 删除字段
     */
    public static final String IS_DEL = "isDel";

    /**
     * 删除值
     */
    public static final int DEL_VAL = 1;

    /**
     * 更新人
     */
    public static final String MODIFIER = "modifier";

    /**
     * 更新时间
     */
    public static final String UPDATE_TIME = "updateTime";

    /**
     * 状态字段
     */
    public static final String STATUS_COL = "status";

    /**
     * 状态启用
     */
    public static final int STATUS_VAL_YES = 1;

    /**
     * 状态禁用
     */
    public static final int STATUS_VAL_NO = 0;

    /**
     * 菜单目录
     */
    public static final String PRIORTIRY_NAME = "priorityName";

}
